package com.taotao.wifepojie.controller;

import com.taotao.wifepojie.service.MemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wangjin
 * @title: MemberController
 * @projectName wife-pojie
 * @description: 多数据源
 * @date 2022/4/18 0018 10:41
 */
@RestController
public class MemberController {
    @Autowired
    private MemberService memberService;

    @RequestMapping("/member")
    public int member(){
         return memberService.member();
    }
}
